/*
 * @Author: cygao
 * @Date: 2018-11-10 21:08:25
 * @Last Modified by: cygao
 * @Last Modified time: 2018-11-25 22:47:20
 */

import React, { Component } from 'react';
import './register.less';

export default class Register extends Component {
    constructor() {
        super()
    }
    back = () =>{
        this.props.history.go(-1);
    }
    nextStep() {
        this.props.history.push('/register2');
        console.log('next')
    }
    render() {
        return (
            <div id="register-container">
                <img onClick={this.back} className="logo-back" src={require('../../../static/images2/logo-back.png')} alt="" />
                <div className="reg-content">
                    <div className="reg-title">输入手机号码</div>
                    <input className="reg-input" type="text" placeholder="请输入手机号码"/>
                    <button className="reg-btn" onClick={this.nextStep.bind(this)}>下一步</button>
                </div>
            </div>
        )
    }
}
